package com.appleword.biz.book.mapper;

import java.util.List;
import com.appleword.biz.book.domain.ApplewordBookGroup;

/**
 * 书籍分组Mapper接口
 * 
 * @author apple
 * @date 2024-05-13
 */
public interface ApplewordBookGroupMapper 
{
    /**
     * 查询书籍分组
     * 
     * @param id 书籍分组主键
     * @return 书籍分组
     */
    public ApplewordBookGroup selectApplewordBookGroupById(Long id);

    /**
     * 查询书籍分组列表
     * 
     * @param applewordBookGroup 书籍分组
     * @return 书籍分组集合
     */
    public List<ApplewordBookGroup> selectApplewordBookGroupList(ApplewordBookGroup applewordBookGroup);

    /**
     * 新增书籍分组
     * 
     * @param applewordBookGroup 书籍分组
     * @return 结果
     */
    public int insertApplewordBookGroup(ApplewordBookGroup applewordBookGroup);

    /**
     * 修改书籍分组
     * 
     * @param applewordBookGroup 书籍分组
     * @return 结果
     */
    public int updateApplewordBookGroup(ApplewordBookGroup applewordBookGroup);

    /**
     * 删除书籍分组
     * 
     * @param id 书籍分组主键
     * @return 结果
     */
    public int deleteApplewordBookGroupById(Long id);

    /**
     * 批量删除书籍分组
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApplewordBookGroupByIds(Long[] ids);
}